package com.zmxstudy.gzu.utils;

public class ProductCodeMsg extends CodeMsg {
    private ProductCodeMsg(Integer code, String msg) {
        super(code, msg);
    }

    public static final ProductCodeMsg ADD_error = new ProductCodeMsg(12001, "查询值为空");
    public static final ProductCodeMsg DELETE_error = new ProductCodeMsg(12002, "删除商品不存在");
    public static final ProductCodeMsg ADDTemplate_error = new ProductCodeMsg(12003, "该模板已存在");
    public static final ProductCodeMsg DELETETemplate_error = new ProductCodeMsg(12008, "该模板下还存在规格");
    public static final ProductCodeMsg Template_error1 = new ProductCodeMsg(12008, "模板名为空");
    public static final ProductCodeMsg ADDSpec_error = new ProductCodeMsg(12004, "输入的字段不完整");
    public static final ProductCodeMsg ADDSpec_error2 = new ProductCodeMsg(12005, "输入的规格已存在");
    public static final ProductCodeMsg ADDSpec_error3 = new ProductCodeMsg(12006, "规格不存在");
    public static final ProductCodeMsg DELETESpu_error = new ProductCodeMsg(12007, "Spu下存在Sku或Spu不存在");
    public static final ProductCodeMsg UPDATEBrand_error = new ProductCodeMsg(12008, "品牌名重复或为空");
    public static final ProductCodeMsg SELECTBrand_error = new ProductCodeMsg(12008, "品牌名查询为空");
    public static final ProductCodeMsg inventory_error = new ProductCodeMsg(12008, "下单数量大于库存");
    public static final ProductCodeMsg inventory_add_error = new ProductCodeMsg(12008, "添加数量小于0");
    public static final ProductCodeMsg DELETE_Para_error = new ProductCodeMsg(12008, "参数不存在");
    public static final ProductCodeMsg ADD_Para_error = new ProductCodeMsg(12008, "数据内容不完整,或所选模板不存在");
    public static final ProductCodeMsg DATA_error = new ProductCodeMsg(12009, "不合法数据");
    public static final ProductCodeMsg DATA_error_with_tips = new ProductCodeMsg(12010, "不合法数据");
    public static final ProductCodeMsg UPADTE_error_TbCategory = new ProductCodeMsg(12011, "模板名重复");
    public static final ProductCodeMsg DELETE_error_TbCategory = new ProductCodeMsg(12012, "模板下存在子模块");
    public static final ProductCodeMsg DELETE_error_TbCategory1 = new ProductCodeMsg(12012, "模板不存在");
}
